package com.xm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品服务
 * @author 康文程
 * @date 2024-1-7 05:45
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommodityServe {
    private Integer serveId;
    private Integer isSelfEmployed;
    private Integer isMiShipments;
    private Integer isReturn;
    private Integer isPriceProtection;
    private Integer isShippingInstructions;
    private Integer isCompanyInformation;
    private Integer isAfterSales;

    private Integer commodityId;

    public CommodityServe(Integer isSelfEmployed) {
        this.isSelfEmployed = isSelfEmployed;
    }

    public CommodityServe(Integer serveId, Integer isSelfEmployed, Integer isMiShipments, Integer isReturn, Integer isPriceProtection, Integer isShippingInstructions, Integer isCompanyInformation, Integer isAfterSales) {
        this.serveId = serveId;
        this.isSelfEmployed = isSelfEmployed;
        this.isMiShipments = isMiShipments;
        this.isReturn = isReturn;
        this.isPriceProtection = isPriceProtection;
        this.isShippingInstructions = isShippingInstructions;
        this.isCompanyInformation = isCompanyInformation;
        this.isAfterSales = isAfterSales;
    }
}
